package com.pogodin.testApp;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class Student {
	
	@Autowired
	private SomeNew newInstance;
	
	
	public String write(){
		return newInstance.write();
	}
}
